<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
int x = 3;
int y = 4;
pageContext.setAttribute("x", x);
pageContext.setAttribute("y", y );

%>
${x+y}
${header }
我是headervalues<br>
${headerValues}<hr>
${ param}<br>
${paramValues }<br>
${initParam}<hr>
<h2>cookie</h2>
${cookie }
${cookie.JESSIONID.name}
${cookie.JESSIONID.value }
<h1>pagecontext</h1>
${pagecontext.x }

</body>
</html>